package pref.junx.flybird.activity.UserInfo;


import pref.junx.flybird.base.BaseModel;
import pref.junx.flybird.base.BasePresenter;
import pref.junx.flybird.base.Baseview;
import pref.junx.flybird.entity.Reg_user;
import pref.junx.flybird.entity.Register_result;
import rx.Observable;

/**
 * Created by 半生瓜 on 2017/8/7
 * .
 */

public interface UserInfoConteact {
    interface Model extends BaseModel {
        Observable<Register_result> getregisterModel(Reg_user reg_user);
    }
    interface View extends Baseview {
        void success();
        void result(String a);
    }
    abstract  class Presenter extends BasePresenter<Model,View> {
      protected  abstract void  doreg(String account,String name,String password);

        public abstract void getvalue(String user_name);
    }
}
